<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>

<!-- 编辑表单 start -->
<div data-role="page"  id="syTest_edit">
  <div data-role="header" data-position="fixed">
      <div data-role="navbar">
    <ul>
       <li><a href="#main" data-icon="home">首页</a></li>
    </ul>
  </div>
  </div>
  <div data-role="content">
  <!-- 请填入编辑表单html  start -->
<form id="i_sy_syTest_datagrid_edit_form"><table width="99%" border="1" class="formtable"><tbody><tr class="firstRow"><td class="label" align="right" style="width:15%;">哈哈</td><td align="left" style="width:85%;"><input id="i_sy_syTest_datagrid_edit_form_doroodoDate" type="text" class="easyui-validatebox" data-options="validType:'email', invalidMessage:'不合法哦', required:true" reftype="0"/></td></tr><tr><td class="label" align="right" style="width:15%;">日期</td><td align="left" style="width:85%;"><input id="i_sy_syTest_datagrid_edit_form_fdsafdsa" type="text" class="easyui-datebox" reftype="6"/></td></tr><tr style="display:none;"><td class="label" align="right" style="width:15%;display:none;">编号</td><td align="left" style="width:85%;display:none;"><input id="i_sy_syTest_datagrid_edit_form_id" type="text" reftype="-1"/></td></tr></tbody></table></form>
<!-- 请填入编辑表单html  end -->
  </div>
  <div data-role="footer" data-position="fixed"  class="ui-btn">
 	<div data-role="controlgroup" data-type="horizontal">
      <a href="#" data-role="button" onclick="" data-icon="check">保存</a>
     <a href="#" data-role="button"  onclick="goBack();" data-icon="back">返回</a>
    </div>
  </div>
<script type="text/javascript">

  function syTest_edit_init(){
	  initForm();
	  syTest_setEditFormData();
  }
  
  $(function(){
	  syTest_edit_init();
  });
  
  function syTest_setEditFormData(){
	  if(g_editform){
		  var $form=$('#i_sy_syTest_datagrid_edit_form');
		  for (var i in g_editform){
			  $('#i_sy_syTest_datagrid_edit_form_'+i,$form).val(g_editform[i]);
		  }
	  }
  }
  </script>
</div> 
<!-- 编辑表单 end -->
</body>
</html>
